<?php
/*
 * Created on Aug 11, 2007
 *
 * @author Constantine Didenko
 * 
 */


$dirname = dirname(__FILE__);
$root = isset($dirname)? $dirname : '/home/kdidenko/public_html';

define('CONTEXT_PATH', 'http://' . $_SERVER['HTTP_HOST'] . '/'); 
define('DOCUMENT_ROOT',  $root . '/');
define('PROPERTIES', DOCUMENT_ROOT . 'properties/');
define('LANG', DOCUMENT_ROOT . 'lang/');
  

define('TEMPLATES_PATH', 'templates/');
define('ADVERTISEMENT_TEMPLATES_PATH',  TEMPLATES_PATH . 'advertisement/');
define('GOOGLE_TEMPLATES_PATH',  TEMPLATES_PATH . 'google/');

define('CITIES_TEMPLATES_PATH', TEMPLATES_PATH . 'cities/');

define('DEFAULT_LANG', 'ua');

define('DB_NEWS_CHANNEL', '1');


define('DB_MAPPING', DOCUMENT_ROOT . '/data-mapping.xml');



 
?>
